









package com.company.xzhuangtai.section3;

/**
 * @author cbf4Life cbf4life@126.com
 * I'm glad to share my knowledge with you all.
 * ����������״̬��������Щ����
 */
public class RunningState extends LiftState {
	
	
	@Override
	public void close() {
		
	}

	
	@Override
	public void open() {
		
	}

	
	@Override
	public void run() {
		System.out.println("����������...");
	}

	
	@Override
	public void stop() {
		super.context.setLiftState(Context.stoppingState); 
		super.context.getLiftState().stop();
	}

}